<div class="images-items">
  <div class="images-item-wrap" ng-repeat="img in images">
    <div class="images-item" ng-class="{active:img.active,error:img.status==10,loading:img.status==20}" ng-click="choose(img);" ng-mouseleave="img.showDelete=false">
      <span class="checked"><i class="icon-check"></i></span>
      <span class="images-item-loading" ng-if="!img.url"></span>
      <span class="images-item-del" ng-click="img.showDelete=true;$event.stopPropagation()"><i class="fa fa-times"></i></span>
      <span class="images-item-del-btn" ng-show="img.showDelete" ng-click="vm.del(img,$event)">删除</span>
      <img ng-src="{{img.url}}" ng-if="img.url">
    </div>
  </div>
</div>